package com.share.common.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@Data
public class LoginInfo implements Serializable {
    @ApiModelProperty("")
    private String token;

    @ApiModelProperty("")
    private Long userId;

    /**
     * 账号
     */
    @ApiModelProperty("账号")
    private String account;

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String nickName;


    @ApiModelProperty("权限")
    private Set<String> permissions;


    @ApiModelProperty("微信小程序-openid")
    private String openid;

    @ApiModelProperty("微信小程序-sessionKey")
    private String sessionKey;
    @ApiModelProperty("微信小程序-unionid")
    private String unionid;
}
